package smedi.ismedi.mobile.bff.dto.quality;

import com.smedi.ismedi.inmail.api.dto.response.AttachmentResponse;
import com.smedi.ismedi.inmail.api.dto.response.CommentResponse;
import com.smedi.ismedi.instrument.api.dto.response.PersonResponse;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;
import java.util.List;

@Data
@Accessors(chain = true)
public class RectificationRecordResponse {

    @ApiModelProperty(value = "流程Id")
    private String id;
    @ApiModelProperty(value = "流程key")
    private String taskDefinitionKey;
    @ApiModelProperty(value = "流程名称")
    private String name;
    @ApiModelProperty(value = "人员信息")
    private PersonResponse personResponse;
    @ApiModelProperty(value = "评论信息")
    private List<CommentResponse> comments;
    @ApiModelProperty(value = "照片信息")
    private List<AttachmentResponse> fileResponse;
    @ApiModelProperty(value = "复查结果")
    private String reviewResult;
    @ApiModelProperty(value = "开始时间")
    private LocalDateTime startTime;
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
    @ApiModelProperty(value = "移交操作人")
    private PersonResponse operatePerson;
    @ApiModelProperty(value = "新整改人信息")
    private PersonResponse newRectificationPerson;
    @ApiModelProperty(value = "原整改人信息")
    private PersonResponse oldRectificationPerson;

}
